package com.koron.ticket.work.worklocation.mapper;

import com.koron.ticket.work.worklocation.bean.WorkLocationBean;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

public interface WorkLocationMapper {
    int deleteByPrimaryKey(String id);

    int insert(WorkLocationBean record);

    int insertSelective(WorkLocationBean record);

    WorkLocationBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(WorkLocationBean record);

    int updateByPrimaryKey(WorkLocationBean record);

    int batchInsert(@Param("list") List<WorkLocationBean> list);

    int deleteByWorkTicketId(@Param("workTicketId")String workTicketId);

	List<WorkLocationBean> queryByWorkTicketId(@Param("workTicketId")String workTicketId);

    List<WorkLocationBean> queryByWorkTicketIdIn(@Param("workTicketIdCollection")Collection<String> workTicketIdCollection);




}
